export default [
  {
    path: '/shop',
    component: () => import('@/views/Shop'),
    redirect: '/shop/market',
    children: [
      {
        path: 'market',
        component: () => import('@/views/Shop/market'),
      },
      {
        path: 'market/:id',
        component: () => import('@/views/Shop/detail'),
        props: true,
      },
      {
        path: 'cart',
        component: () => import('@/views/Shop/cart'),
      },
      {
        path: 'center',
        component: () => import('@/views/Shop/center'),
      },
      {
        path: 'register',
        component: () => import('@/views/Shop/register'),
      },
      {
        path: 'rPwd',
        component: () => import('@/views/Shop/rPwd'),
      },
      {
        path: 'login',
        component: () => import('@/views/Shop/login'),
      },
    ],
  },
];